package com.atguigu.springcloud;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;

import com.atguigu.myrule.MyRule;

/**
 * @author heh
 * @date 2020-04-01
 */
@SpringBootApplication
@EnableEurekaClient
// 启动微服务的时候加载自定义的Ribbon配置类
//@RibbonClient(name="CLOUD-PAYMENT-SERVICE",configuration = MyRule.class)
public class OrderMain8002 {
    public static void main(String[] args) {
        SpringApplication.run(OrderMain8002.class, args);
        // http://localhost:8002/swagger-ui.html
    }

}
